import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// 引入 插件
import 'amfe-flexible';
import '@/assets/css/reset.css';

import less from 'less'
Vue.use(less)
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant)

import router from '@/router'

Vue.filter('moneyFlrmat', function (val) {
  return `￥${val.toFixed(2)}元`;
})

import VueLazyLoad from 'vue-lazyload'
Vue.use(VueLazyLoad, {
  loading: require('./assets/loading.gif'),
})

new Vue({
  // el: '#app',
  router,
  // store,
  render: h => h(App),
}).$mount('#app')
